<template>
  <section class="my-vacation-wrap">
    <div class="my-vacation">
      <ul>
        <li>员工自助 <i class='el-icon-arrow-right'></i> </li>
        <li>请休假</li>
      </ul>
      <leave-vacation></leave-vacation>
      <leave-button ></leave-button>
      <leave-table></leave-table>
      <leave-detail></leave-detail>
    </div>
  </section>
</template>

<script>
import leaveVacation from '@/components/router-component/homepage2/myVacation/leave_vacation';
import leaveTable from '@/components/router-component/homepage2/myVacation/leave_table';
import leaveDetail from '@/components/router-component/homepage2/myVacation/leave_detail';
import leaveButton from '@/components/router-component/homepage2/myVacation/button';

export default {
  components: {
    leaveVacation,
    leaveTable,
    leaveButton,
    leaveDetail
  },
};
</script>

<style scoped lang='less'>
.my-vacation-wrap {
  height: 100%;
  min-width: 1000px;

  .my-vacation {
    height: 100%;
    & > ul {
      overflow: hidden;
      padding: 12px 0;
      background-color: #ecf0f5;
      width: 100%;
      li {
        float: left;
        font-size: 14px;
        i {
          margin-right: 2px;
          transform: scale(0.6) translateY(2px);
        }
      }
      li:last-of-type {
        color: #268fe5;
        font-weight: bold;
      }
    }
    & > section {
      background-color: #fff;
      min-width: 1000px;

    }
  }
}
</style>
